﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Center.aspx.cs" Inherits="RM.Web.Center" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Res/css/style.css" rel="Stylesheet" type="text/css" />
    <link href="Res/css/pagination.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript" src="Res/js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="Res/js/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" src="Res/js/layout.js"></script>
</head>
<body>

    <form id="form1" runat="server">
    <!--工具栏-->
<div class="toolbar-wrap">
  <div id="floatHead" class="toolbar">
    <div class="l-list">
      <ul class="icon-list">
        <li><asp:LinkButton ID="btnAdd" runat="server" CssClass="add" PostBackUrl="add.aspx"><i></i><span>新增</span></asp:LinkButton></li>
        
        <li><a class="all" href="javascript:;" onclick="checkAll(this);"><i></i><span>全选</span></a></li>
        <li><asp:LinkButton ID="btnDelete" runat="server" CssClass="del" OnClientClick="return ExePostBack('btnDelete');" onclick="btnDelete_Click"><i></i><span>删除</span></asp:LinkButton></li>
      </ul> 
    </div>
    <div class="r-list">
      <asp:TextBox ID="txtKeywords" runat="server" CssClass="keyword" />
      <asp:LinkButton ID="lbtnSearch" runat="server" CssClass="btn-search">查询</asp:LinkButton> 
    </div>
  </div>
</div>
<!--/工具栏-->
    <!--列表-->
<asp:Repeater ID="rptList" runat="server">
<HeaderTemplate>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
  <tr>
    <th width="3%">选择</th> 
    <th width="5%">roleid</th>
    <th width="5%">userid</th>
    <th width="5%">打印</th>
  </tr> 
</HeaderTemplate>
<ItemTemplate>
  <tr>
    <td align="center">
      <asp:CheckBox ID="chkId" CssClass="checkall" runat="server" style="vertical-align:middle;" />
      <asp:HiddenField ID="hidId" Value='<%#Eval("id")%>' runat="server" />
    </td>   
     <td align="center">     
        <h4><b><a href="Center.aspx?id=<%#Eval("id")%>&p=<%=page%>"><%#Eval("username")%></a></b></h4>
    </td>  
    <td align="center"><%#Eval("salary")%></td>

  

   


    <td align="center">     
        <h4><b><a href="#" onclick="Print(<%#Eval("id")%>)">打印</a></b></h4>
    </td>  
  </tr>
</ItemTemplate>
<FooterTemplate>
  <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"11\">暂无记录</td></tr>" : ""%>
</table>
</FooterTemplate>
</asp:Repeater>
<!--/列表-->
<!--内容底部-->
<div class="line20"></div>
<div class="pagelist">
  <div class="l-btns">
    <span>显示</span><asp:TextBox ID="txtPageNum" runat="server" CssClass="pagenum" onkeydown="return checkNumber(event);" ontextchanged="txtPageNum_TextChanged" AutoPostBack="True"></asp:TextBox><span>条/页</span>
  </div>
  <div id="PageContent" runat="server" class="default"></div>
</div>
<!--/内容底部-->




    </form>



</body>
</html>
